
declare module Microsoft.Office.WebExtension {

    /** Represents an attachment on an item from the server. */
    export class AttachmentDetails {

        /** Gets one of the AttachmentType enumeration values that indicates whether the attachment is an Exchange item or a file. */
        attachmentType: any;

        /** Gets the MIME content type of the attachment. */
        contentType: string;

        /** Gets the Exchange attachment ID of the attachment. */
        id: string;

        /** Gets a value that indicates whether the attachment is an inline attachment. */
        isInline: boolean;

        /** Gets the name of the attachment. */
        name: string;

        /** Gets the size of the attachment in bytes. */
        size: number;
    }
}